package com.yswy.theater.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yswy.common.vo.dto.BaseFilter;
import com.yswy.theater.entity.TheaterHotSearch;
import com.yswy.theater.entity.TheaterPlayLookLog;
import com.yswy.theater.vo.res.TheaterPlayResVo;

import java.util.List;

public interface TheaterPlayLookLogService extends IService<TheaterPlayLookLog> {
    //添加短剧观看记录
    void addTheaterPlayLookLog(Long playId , Long userId, Integer episodes);
    //获取观看记录
    Page<TheaterPlayLookLog> listTheaterPlayLookLog(Long userId , BaseFilter baseFilter);

    //添加追剧记录
    void addTheaterPlayLookLogCollect(Long playId , Long userId);
    //添加追剧记录
    void delTheaterPlayLookLogCollect(Long playId , Long userId);
    //获取追剧记录
    Page<TheaterPlayLookLog> listTheaterPlayLookLogCollect(Long userId, BaseFilter baseFilter);

}
